package com.ct.application.sysuser.request;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUserRequest  {
    @NotBlank(message = "请输入登录账号")
    private String account;
    @NotBlank(message = "请输入登录密码")
    @Length(min = 3, max = 16, message = "密码长度必须是3~16位")
    private String password;
    @NotBlank(message = "请输入验证码")
    @Length(min = 4, max = 4, message = "请输入四位验证码")
    private String code;
    @NotBlank(message = "请输入验证码标识")
    private String codeuuid;
}
